const Directions = {
  model (vm, node, name) {
    node.addEventListener('input', e => {
      vm[name] = e.target.value
    })
    new Watcher(vm, node, name, 'value')
  },
  text (vm, node, name) {
    new Watcher(vm, node, name, 'innerText')
  }
}
